<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
  <database name="default" defaultIdMethod="none">
    <table name="T_REPORTSTATEMENT">
      <column name="AD_PINSTANCE_ID" primaryKey="true" required="true" type="ID" size="10" autoIncrement="false"/>
      <column name="FACT_ACCT_ID" primaryKey="true" required="true" type="ID" size="10" autoIncrement="false"/>
      <column name="LEVELNO" primaryKey="false" required="true" type="DECIMAL" size="10" autoIncrement="false"/>
      <column name="DATEACCT" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false"/>
      <column name="NAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
      <column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false"/>
      <column name="AMTACCTDR" primaryKey="false" required="false" type="DECIMAL" default="0" autoIncrement="false"/>
      <column name="AMTACCTCR" primaryKey="false" required="false" type="DECIMAL" default="0" autoIncrement="false"/>
      <column name="BALANCE" primaryKey="false" required="false" type="DECIMAL" default="0" autoIncrement="false"/>
      <column name="QTY" primaryKey="false" required="false" type="DECIMAL" default="0" autoIncrement="false"/>
      <foreign-key foreignTable="AD_PINSTANCE" name="ADPINSTANCE_TREPORTSTATEMENT" onDelete="none">
        <reference local="AD_PINSTANCE_ID" foreign="AD_PINSTANCE_ID"/>
      </foreign-key>
    </table>
  </database>
